@import "_reset.scss";

@mixin alignment {
    display: flex;
    justify-content: space-between;
}

.web {
    .logo {
        padding: 0;
        display: flex;
        align-items: center;
        margin-right: 10px;
        justify-content: center;
    }

    .item {
        img {
            width: 100%;
            height: 100%;
        }
    }

    .navbar {
        position: relative;
        min-height: 50px;
        margin-bottom: 0px;
        border: 1px solid transparent;
        border-radius: 0;
    }

    .navar-fixed {
        position: fixed;
        left: 0;
        right: 0;
        z-index: 99999;
    }

    .engine {
        background-color: #fbfaf7;

        .container {
            padding-top: 105px;

            .engine-box {
                // margin-top: 105px;
                padding-left: 150px;

                h2 {
                    font-size: 48px;
                    color: #0078d7;
                    margin-bottom: 30px;
                }

                h3 {
                    font-size: 30px;
                    color: #666666;
                    margin-bottom: 40px;
                }

                .rectangle {
                    width: 288px;
                    height: 76px;
                    // background-color: red;
                    margin-right: 45px;
                    margin-bottom: 48px;

                    .Icon {
                        width: 64px;
                        height: 64px;
                        background-color: #0078d7;
                        background-image: url(../img/rectangle-icon.png);
                        background-position: center;
                        background-repeat: no-repeat;
                        border-radius: 4px;
                    }

                    .Icon-content {
                        display: flex;
                        justify-content: space-between;
                        padding-right: 0;
                        flex-wrap: wrap;

                        p {
                            font-size: 19px;
                            color: #333333;
                            line-height: 20px;
                            margin-bottom: 15px;
                        }

                        span {
                            font-size: 14px;
                            color: #666666;
                            line-height: 20px;
                        }
                    }
                }

                .rectangle2 {
                    width: 288px;
                    height: 76px;
                    margin-bottom: 48px;

                    .Icon {
                        width: 64px;
                        height: 64px;
                        background-color: #0078d7;
                        background-image: url(../img/rectangle-icon2.png);
                        background-position: center;
                        background-repeat: no-repeat;
                        border-radius: 4px;
                    }

                    .Icon-content {
                        padding-right: 0;

                        p {
                            font-size: 19px;
                            color: #333333;
                            line-height: 20px;
                            margin-bottom: 15px;
                        }

                        span {
                            font-size: 14px;
                            color: #666666;
                            line-height: 20px;
                        }
                    }
                }

                .rectangle3 {
                    width: 288px;
                    height: 76px;
                    margin-right: 45px;

                    .Icon {
                        width: 64px;
                        height: 64px;
                        background-color: #0078d7;
                        background-image: url(../img/rectangle-icon3.png);
                        background-position: center;
                        background-repeat: no-repeat;
                        border-radius: 4px;
                    }

                    .Icon-content {
                        padding-right: 0;

                        p {
                            font-size: 19px;
                            color: #333333;
                            line-height: 20px;
                            margin-bottom: 15px;
                        }

                        span {
                            font-size: 14px;
                            color: #666666;
                            line-height: 20px;
                        }
                    }
                }

                .rectangle4 {
                    width: 296px;
                    height: 76px;

                    .Icon {
                        width: 64px;
                        height: 64px;
                        background-color: #0078d7;
                        background-image: url(../img/rectangle-icon4.png);
                        background-position: center;
                        background-repeat: no-repeat;
                        border-radius: 4px;
                    }

                    .Icon-content {
                        padding-right: 0;

                        p {
                            font-size: 19px;
                            color: #333333;
                            line-height: 20px;
                            margin-bottom: 15px;
                        }

                        span {
                            font-size: 14px;
                            color: #666666;
                            line-height: 20px;
                        }
                    }
                }

                .engine-img {
                    width: 365px;
                    height: 464px;

                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
    }

    .advantage {
        padding-top: 60px;

        .container {
            p {
                font-size: 48px;
                font-weight: bold;
                color: #8fc31f;
                padding-bottom: 44px;

            }

            .advantage-img {
                width: 303px;
                height: 295px;
                margin-top: 50px;
                margin-right: 123px;
                margin-left: 100px;

                img {
                    width: 100%;
                    height: 100%;

                }
            }

            .advantage-content {
                padding-bottom: 16px;

                .advantage-box {
                    .Icon {
                        width: 54px;
                        height: 54px;
                        background-color: #8fc31f;
                        background-image: url(../img/dp.png);
                        background-position: center;
                        background-repeat: no-repeat;
                        border-radius: 50%;
                    }

                    .Icon-content {
                        font-size: 14px;
                        line-height: 54px;
                        color: #666666;
                    }
                }

            }

            .advantage-content2 {
                padding-bottom: 16px;

                .Icon {
                    width: 54px;
                    height: 54px;
                    background-color: #8fc31f;
                    background-image: url(../img/flash2.png);
                    background-position: center;
                    background-repeat: no-repeat;
                    border-radius: 50%;
                }

                .Icon-content {
                    font-size: 14px;
                    line-height: 54px;
                    color: #666666;
                }
            }

            .advantage-content3 {
                padding-bottom: 16px;

                .Icon {
                    width: 54px;
                    height: 54px;
                    background-color: #8fc31f;
                    background-image: url(../img/player.png);
                    background-position: center;
                    background-repeat: no-repeat;
                    border-radius: 50%;
                }

                .Icon-content {
                    font-size: 14px;
                    line-height: 54px;
                    color: #666666;
                }
            }

            .advantage-content4 {
                .Icon {
                    width: 54px;
                    height: 54px;
                    background-color: #8fc31f;
                    background-image: url(../img/yxb.png);
                    background-position: center;
                    background-repeat: no-repeat;
                    border-radius: 50%;
                }

                .Icon-content {
                    font-size: 14px;
                    line-height: 54px;
                    color: #666666;
                }
            }
        }
    }

    .Product-family {
        margin-top: 105px;
        background-color: #0079d7;

        .container {
            .family-title {




                h1 {
                    padding-top: 111px;
                    padding-bottom: 72px;
                    font-size: 48px;
                    text-align: center;
                    // line-height: 200px;
                    color: #fffefe;

                }


            }

            .family-content {


                .Product-box {

                    .family-box {
                        @include alignment();

                        .Icon {
                            width: 66px;
                            height: 66px;
                            background-position: center;
                            background-repeat: no-repeat;
                            background-image: url(../img/Product-Icon1.png);

                        }

                        .Icon-content {
                            p {
                                font-size: 33px;

                                color: #fffefe;
                                margin-bottom: 17px;
                            }

                            span {
                                font-size: 14px;

                                line-height: 29px;

                                color: #fffefe;
                            }
                        }
                    }
                }

                .Product-box2 {
                    margin-bottom: 79px;

                    .family-box {
                        @include alignment();

                        .Icon {
                            width: 66px;
                            height: 66px;
                            background-position: center;
                            background-repeat: no-repeat;

                            background-image: url(../img/Product-Icon2.png);


                        }

                        .Icon-content {


                            p {
                                font-size: 33px;

                                color: #fffefe;
                                margin-bottom: 17px;
                            }

                            span {
                                font-size: 14px;

                                line-height: 29px;

                                color: #fffefe;
                            }
                        }
                    }

                }

                .Product-box3 {
                    // margin-left: 278px;
                    // margin-right: 97px;
                    margin-bottom: 79px;

                    .family-box {
                        @include alignment();

                        .Icon {
                            width: 66px;
                            height: 66px;
                            background-repeat: no-repeat;
                            background-position: center;
                            background-image: url(../img/Product-Icon3.png);

                        }

                        .Icon-content {
                            p {
                                font-size: 33px;

                                color: #fffefe;
                                margin-bottom: 17px;
                            }

                            span {
                                font-size: 14px;

                                line-height: 29px;

                                color: #fffefe;
                            }
                        }
                    }
                }

                .Product-box4 {
                    margin-bottom: 79px;


                    .family-box {
                        @include alignment();

                        .Icon {
                            width: 66px;
                            height: 66px;
                            background-position: center;
                            background-repeat: no-repeat;

                            background-image: url(../img/Product-Icon4.png);


                        }

                        .Icon-content {


                            p {
                                font-size: 33px;

                                color: #fffefe;
                                margin-bottom: 17px;
                            }

                            span {
                                font-size: 14px;

                                line-height: 29px;

                                color: #fffefe;
                            }
                        }
                    }

                }


                .Product-box5 {

                    margin-bottom: 79px;

                    .family-box {
                        @include alignment();

                        .Icon {
                            width: 66px;
                            height: 66px;
                            background-position: center;
                            background-repeat: no-repeat;
                            background-image: url(../img/Product-Icon5.png);

                        }

                        .Icon-content {
                            p {
                                font-size: 33px;

                                color: #fffefe;
                                margin-bottom: 17px;
                            }

                            span {
                                font-size: 14px;

                                line-height: 29px;

                                color: #fffefe;
                            }
                        }
                    }
                }

                .Product-box6 {


                    .family-box {
                        @include alignment();

                        .Icon {
                            width: 66px;
                            height: 66px;
                            background-position: center;
                            background-repeat: no-repeat;
                            background-image: url(../img/Product-Icon6.png);


                        }

                        .Icon-content {


                            p {
                                font-size: 33px;

                                color: #fffefe;
                                margin-bottom: 17px;
                            }

                            span {
                                font-size: 14px;

                                line-height: 29px;

                                color: #fffefe;
                            }
                        }
                    }

                }


            }
        }
    }

    .game {
        background-color: #ffffff;
        padding-bottom: 64px;

        .container {
            .game-title {

                margin-top: 86px;

                .title-left {
                    font-size: 35px;

                    color: #2a2a2a;
                    text-align: left;
                }

                .title-right {
                    font-size: 14px;
                    padding-right: 0;
                    color: #2a2a2a;
                    text-align: right;
                }
            }

            .game-recommend {
                margin-top: 45px;


                .recommend-img {
                    width: 370px;
                    height: 200px;
                    background-image: url(../img/game-big.png);
                    background-repeat: no-repeat;
                    // margin-right: 48px;


                    img {
                        width: 100%;
                        height: 100%;

                    }
                }

                .recommend-content {


                    .recommend-Icon {

                        padding-left: 40px;

                        .Icon {

                            .Icon-img {
                                width: 67px;
                                height: 67px;
                                margin: 0 auto;

                            }

                            p {
                                font-size: 14px;

                                line-height: 42px;
                                text-align: center;
                                color: #2a2a2a;
                            }
                        }

                    }
                }
            }

        }
    }

    .cooperative-partner {
        background-color: #f4f4f4;

        .container {
            .partner-title {
                margin-top: 40px;
                display: flex;
                margin-bottom: 36px;

                p {
                    font-size: 30px;

                    color: #2a2a2a;
                }

                span {
                    font-size: 11px;

                    line-height: 40px;
                    color: #777777;
                }
            }

            .partner-Icon {
                .partner-Icon2 {
                    padding-left: 0;
                }
            }

            .partner-Icon2 {
                padding-bottom: 40px;

                .partner-Icon2 {
                    padding-left: 0;
                }
            }



        }
    }

    .footer {
        background-color: #3b3b3b;
        padding-top: 35px;
        padding-bottom: 35px;

        .container {
            .footer-title {
                ul {
                    display: flex;

                    li {
                        font-size: 14px;

                        line-height: 21px;

                        color: #a1a3ab;
                        margin-right: 14px;

                        &:hover {
                            color: red;
                        }
                    }
                }


            }

            .footer-content {
                font-size: 11px;

                line-height: 21px;

                color: #a1a3ab;
            }

            .footer-Icon {
                width: 38px;
                height: 38px;
                background-image: url(../img/footer-Icon.png);
                background-position: center;
                background-repeat: no-repeat;
                margin-right: 20px;
            }

            .footer-Icon2 {
                width: 38px;
                height: 38px;
                background-image: url(../img/footer-Icon2.png);
                background-position: center;
                background-repeat: no-repeat;
                margin-right: 20px;
            }

            .footer-Icon3 {
                width: 38px;
                height: 38px;
                background-image: url(../img/footer-Icon3.png);
                background-position: center;
                background-repeat: no-repeat;
            }
        }
    }
}

@media screen and (min-width:768px) and (max-width:992px) {
    .navbar-nav li a {
        padding: 15px 5px;
    }
}

@media screen and (max-width: 768px) {

    .web {

        .huojian {
            padding-top: 50px;
        }

        .engine {
            width: 100%;

            .container {
                margin-left: 0;
                margin-right: 0;
                padding-top: 40px;

                .engine-box {
                    padding-left: 0;
                    margin-right: 15;

                    h2 {
                        text-align: center;

                    }

                    h3 {
                        font-size: 20px;
                        text-align: center;
                        padding-left: 5px;
                    }

                    .rectangle,
                    .rectangle2,
                    .rectangle3,
                    .rectangle4 {
                        padding-left: 60px;
                        width: 100%;
                        margin-bottom: 20px;
                    }
                }
            }
        }

        .advantage {
            width: 100%;
            padding-top: 30px;
            // background-color: red;

            .container {
                padding-right: 0;

                p {
                    text-align: center;
                    padding-bottom: 30px;
                }

                .container-box {
                    // margin-left: 0;
                    margin-right: 0;
                    width: 100%;



                    .advantage-content,
                    .advantage-content2,
                    .advantage-content3,
                    .advantage-content4 {

                        width: 100%;

                        padding-right: 0;
                        padding-left: 40px;

                        .Icon-content {
                            padding-right: 0;

                            span {
                                font-size: 12px;
                                line-height: 10px;
                            }
                        }


                    }
                }

            }


        }

        .Product-family {
            width: 100%;

            .container {
                .family-title {

                    width: 100%;

                    h1 {
                        padding-top: 40px;
                        padding-bottom: 30px;
                        font-size: 43px;
                    }


                }

                .family-content {
                    margin: 0;

                    .Product-box,
                    .Product-box2,
                    .Product-box3,
                    .Product-box4,
                    .Product-box5,
                    .Product-box6 {
                        margin: 0;
                        margin-bottom: 20px;


                        .family-box {

                            display: flex;
                            justify-content: flex-start;

                            .Icon-content {
                                width: 100%;
                            }

                            .Icon {
                                margin-right: 20px;
                            }
                        }



                    }
                }

            }
        }

        .game {
            padding-bottom: 20px;

            .container {
                .game-title {
                    margin-top: 20px;

                    .title-left {
                        padding-left: 0;
                        text-align: center;
                        font-size: 27px;
                    }
                }

                .game-recommend {
                    .recommend-content {
                        .recommend-Icon {
                            padding-left: 0;
                        }
                    }
                }
            }
        }

        .footer {
            .container {
                .footer-box {
                    margin-top: 20px;
                }
            }
        }
    }
}